package com.zzxy.mybatis.entity;

import java.util.Date;

public class User {
    private int id;
    private String username;
    private String address;
    private Date birthday;
    private String sex;

    public User() {

    }

    public User(int id, String username, String address, Date birthday, String sex) {
        this.id = id;
        this.username = username;
        this.address = address;
        this.birthday = birthday;
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", address='" + address + '\'' +
                ", birthday=" + birthday +
                ", sex='" + sex + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return address;
    }

    public void setPassword(String password) {
        this.address = password;
    }

    public Date getDate() {
        return birthday;
    }

    public void setDate(Date date) {
        this.birthday = date;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setBirthday(String number) {
        
    }

    public void setAddress(String 枣庄) {
    }
}
